#!/bin/bash

echo "🔍 检查 vLLM 相关进程..."
ps aux | grep vllm | grep -v grep

echo ""
echo "🔪 杀死所有 vLLM 进程..."
pkill -f "vllm.entrypoints.openai.api_server"
pkill -f "vllm"
pkill -f "python.*vllm"

sleep 2

echo ""
echo "✅ 清理完成，查看 GPU 状态:"
nvidia-smi

